package org.wxy.sdk.base.impl;

import android.content.Context;

import org.wxy.sdk.base.IBaseModel;


/**
 * Created by wxy on 2018/05/27.
 *
 * @author wxy
 * @date on 2018/05/27 11:32
 */

public abstract class BaseModelImpl implements IBaseModel {

    private Context context;

    public BaseModelImpl(Context context) {
        this.context = context;
    }

    protected Context getContext() {
        return context;
    }

    @Override
    public void destroy() {
        this.context = null;
    }
}